﻿/**
 * @file guild_members_logic.h
 * @date 2021/06/26 16:49
 *
 * @author harrybao (harrybao@123u.com)
 *
 * @brief 公会成员模块逻辑
 *
 * @version v1.0.0
 *
 * @copyright Copyright © 2021 All Rights Reserved 上海欢乐互娱网络科技有限公司
 *
 * @par history:
 * <table>
 * <tr><th>Date                     <th>Version     <th>Author <th>Description
 * <tr><td>2021/06/26 16:49         <td>1.0.0       <td>harrybao
 * <td>创建初始版本
 * </table>
 */


#pragma once

#include <vector>
#include "error/error_code.h"
#include "guild/guild.h"
#include "guildservicewelfare.enum.h"

struct GuildModuleMembers;

namespace guild_service {

/**
 * @brief 公会成员模块逻辑类
 *
 */
class GuildMembersLogic {
public:
  /**
   * @brief 获取公会福利奖励
   * 
   * @param role_uuid 角色唯一id
   * @param ec 错误码
   * @return true 添加成功
   * @return false 添加失败
   */
 static bool GetGuildWelfareAward(const role_uuid_type role_uuid,
                                  error_code &ec);
};

}  // namespace guild_service
